package ee.ut.maxorato_macobo.oop.mud.game;

public class NpcTemplate {
	private String identifier;
	
	private int maxEnergy;
	private int maxMana;
	private int maxHealth;
	private String npcName;
	private String npcDescription;
	
	private int crumbleTime;
	
	public NpcTemplate(String newIdentifier) {
		this(newIdentifier, 100, 100, 100, "creature", "a strange creature");
	}
	
	public NpcTemplate(String newIdentifier, int newMaxEnergy, int newMaxMana, int newMaxHealth, String newNpcName, String newNpcDescription) {
		identifier = newIdentifier;
		
		maxEnergy = newMaxEnergy;
		maxMana = newMaxMana;
		maxHealth = newMaxHealth;
		
		npcName = newNpcName;
		npcDescription = newNpcDescription;
		
		crumbleTime = -1;
	}
	
	public String getIdentifier() {
		return identifier;
	}
	
	public void setMaxEnergy(int newMaxEnergy) {
		maxEnergy = newMaxEnergy;
	}
	
	public int getMaxEnergy() {
		return maxEnergy;
	}
	
	public void setMaxMana(int newMaxMana) {
		maxMana = newMaxMana;
	}
	
	public int getMaxMana() {
		return maxMana;
	}
	
	public void setMaxHealth(int newMaxHealth) {
		maxHealth = newMaxHealth;
	}
	
	public int getMaxHealth() {
		return maxHealth;
	}
	
	public void setNpcName(String newNpcName) {
		npcName = newNpcName;
	}
	
	public String getNpcName() {
		return npcName;
	}
	
	public void setNpcDescription(String newNpcDescription) {
		npcDescription = newNpcDescription;
	}
	
	public String getNpcDescription() {
		return npcDescription;
	}
	
	public void setCrumbleTime(int newCrumbleTime) {
		crumbleTime = newCrumbleTime;
	}
	
	public int getCrumbleTime() {
		return crumbleTime;
	}
}
